#ifndef Render_GUARD
#define Render_GUARD

#include "types.h"

class Render
{
public:
	virtual void begin() = 0;
	virtual void end() = 0;
	virtual void draw() = 0;
	virtual void setClearColor(float r,float g,float b, float a) = 0;
	virtual void clear() = 0;
	virtual void setColor(float r,float g,float b,float a) = 0;
	virtual void swap() = 0;
	virtual int renderIndexedVertexArray(float* vertices, int vertices_count,int* indices, int indices_count) = 0;
	virtual ~Render(){}
private:
	void registThread(){}
	void ungistThread(){}
};

#endif